package com.service;

import com.dao.GradeDao;
import com.entity.Grade;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public class GradeService {

    @Autowired
    GradeDao gradeDao;

    public List<Grade> getAll(){
        return gradeDao.getAll();
    }
}
